#ifndef _SHELL_UPTOKEN_BEAN_H_
#define _SHELL_UPTOKEN_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include "TokenInfo.h"
using namespace std;
class UpToken : public Bean
{
	public:
	UpToken();
	~UpToken();
	void reset();
	UpToken* clone();
	//变化类型1.添加。3更新
	int8 type;
	//更新的令牌
	TokenInfo* tokenInfo;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
